<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css/mystyle.css">
    <link rel="stylesheet" href="layui/css/layui.css">
</head>

<body>
	<!-- 导入顶部导航---start -->
	<%@ include file="head.jsp" %>
	<!-- 导入顶部导航---end -->
	
    <div class="layui-container">
        <div class="layui-row layui-col-space30">
            <div class="layui-col-md3 layui-col-lg3">
                <div class="bloger">
                    <img src="../upload1/${stuinfo.photopath}" class="blogerphoto">
                </div>
                <div class="layui-card">
                    <div class="layui-card-body">
                    <div class="stu_name">
                                <p >${stuinfo.stuname }<i class="stu_gender layui-icon layui-icon-male"></i> </p>
                     </div>
                     <p><span class="yinh_left">“</span> ${stuinfo.signed}<span class="yinh_left">”</span></p>
                     
                </div>
                </div>
                <div class="layui-card">
                    <div class="layui-card-header"><span class="stu_name1">${stuinfo.stuname }</span>的文章</div>
                    <div class="layui-card-body">
                    	<div class="stu_art">
                           <p class="art_title"><a href="#"><i class="layui-icon layui-icon-link"></i> “希望我拼命争取的，最后都能是我的”</a></p>
                           <img src="img/wz1.jpg">
                           
                        </div>
                        <p class="art_time">2019-8-17 22:23:43</p>
                        <div class="stu_art">
                           <p class="art_title"><a href="articlecontent.jsp"><i class="layui-icon layui-icon-link"></i> 《长螺旋钻孔压灌桩质量缺陷及防治措施》</a></p>
                           <img src="img/wz3.png">
                           
                        </div>
                        <p class="art_time">2019-4-29 23:40:23</p>
                        <div class="stu_art">
                           <p class="art_title"><a href="#"><i class="layui-icon layui-icon-link"></i>《云计算对高校教育信息化建设的影响研究》</a></p>
                           <img src="img/wz1.png">
                           
                        </div>
                        <p class="art_time">2019-3-1 12:33:43</p>
                        <div class="layui-card-footer">
                        	<p><a href="article.jsp">查看更多</a></p>
                    	</div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md8 layui-col-lg8 my-bloger">
                <div class="blogerArti layui-card">
                    <div class="blogeraerticle layui-card-header">
                        <span class="blueline"></span>
                         <p class="header_title">基本信息</p>
                        <button class="layui-btn  layui-btn layui-btn-sm myinfoedit" style="background:#3AACDA;"
                            data-method="myjiben">编辑</button>
                    </div>
                    <div class="layui-card-body">
                        <div class="layui-row layui-col-space30">
                            <div class="layui-col-lg6 layui-col-md6">
                            	 <p class="user_info"><i class="layui-icon layui-icon-username"></i><span class="user_txt">姓名：${stuinfo.stuname }</span></p>
                                 <p class="user_info"><i class="layui-icon layui-icon-male"></i><span class="user_txt">性别：${stuinfo.agend }</span></p>
                                 <p class="user_info"><i class="layui-icon layui-icon-cellphone"></i><span class="user_txt">电话：${stuinfo.phone }</span></p>
                                 
                                 
                                 <p class="user_info"><i class="layui-icon layui-icon-notice"></i><span class="user_txt">生日：${stuinfo.birthday }</span></p>
                                 <p class="user_info"><i class="layui-icon layui-icon-date"></i><span class="user_txt">入学日期：${stuinfo.entrance }</span></p>
                              
                            </div>
                            <div class="layui-col-lg6 layui-col-md6">
                              		<p class="user_info"><i class="layui-icon layui-icon-home"></i><span class="user_txt">学校：${stuinfo.school }</span></p>
                                    <p class="user_info"><i class="layui-icon layui-icon-list"></i><span class="user_txt">学院：${stuinfo.college }</span></p>
                                    
                                    <p class="user_info"><i class="layui-icon layui-icon-tabs"></i><span class="user_txt">专业：${stuinfo.majorname }</span></p>
                                    <p class="user_info"><i class="layui-icon layui-icon-group"></i><span class="user_txt">班级：${stuinfo.classname }</span></p>
                                    <p class="user_info"><i class="layui-icon layui-icon-website"></i><span class="user_txt">邮箱：${stuinfo.email }</span></p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="blogerArt layui-card">
                    <div class="blogeraerticle layui-card-header">
                        <span class="blueline"></span>
                       <p class="header_title">求职意向</p>
                        <button class="layui-btn  layui-btn layui-btn-sm myinfoedit" style="background:#3AACDA;"
                            data-method="myqiuzhi">编辑</button>
                    </div>
                    <div class="layui-card-body">
                        <div class="layui-row layui-col-space30">
                            <div class="layui-col-lg6 layui-col-md6">
                                <table class="layui-table">
                                    <colgroup>
                                        <col width="50%">
                                        <col>
                                    </colgroup>
                                    <tbody>
                                        <tr>
                                            <td class="wit-title">期待岗位</td>
                                            <td>${userwanted.post }</td>
                                        </tr>
                                        <tr>
                                            <td class="wit-title">期待薪资</td>
                                            <td>￥${userwanted.salary }</td>
                                        </tr>
                                        <tr>
                                            <td class="wit-title">求职状态</td>
                                            <td>${userwanted.huntingstatus }</td>
                                        </tr>
                                        <tr>
                                            <td class="wit-title">工作地</td>
                                            <td>${userwanted.workaddress }</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="layui-col-lg6 layui-col-md6">
                                <table class="layui-table">
                                    <colgroup>
                                        <col width="50%">
                                        <col>
                                    </colgroup>
                                    <tbody>
                                        <tr>
                                            <td class="wit-title">学历</td>
                                            <td>${userwanted.stulevel }</td>
                                        </tr>
                                        <tr>
                                            <td class="wit-title">现住址</td>
                                            <td>${userwanted.nowaddress }</td>
                                        </tr>
                                        <tr>
                                            <td class="wit-title">家庭住址</td>
                                            <td>${userwanted.familyaddress }</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-lg1 layui-col-md1">
                <div class="backmenu">
                    <table class="layui-table" lay-skin="nob">
                        <colgroup>
                            <col width="60">
                        </colgroup>
                        <tbody>
                            <tr>
                                <td class="backmenu-active" onclick="window.location.href='personalbaseinfo.action?userid=${stuinfo.userid}';"><i
                                        class="layui-icon layui-icon-template-1"></i> 基础信息</td>
                            </tr>
                            <tr>
                                <td onclick="window.location.href='study.action?userid=${stuinfo.userid}';"><i
                                        class="layui-icon layui-icon-read"></i> 专业学习经历</td>
                            </tr>
                            <tr>
                                <td onclick="window.location.href='product.action?userid=${stuinfo.userid}';"><i class="layui-icon layui-icon-tabs"></i> 个人作品</td>
                            </tr>
                            <tr>
                                <td onclick="window.location.href='honor.action?userid=${stuinfo.userid}';"><i
                                        class="layui-icon layui-icon-diamond"></i> 个人荣誉</td>
                            </tr>
                            <tr>
                                <td onclick="window.location.href='practice.action?userid=${stuinfo.userid}';"><i
                                        class="layui-icon layui-icon-face-smile"></i> 学校实践</td>
                            </tr>
                            <tr>
                                <td onclick="window.location.href='experience.action?userid=${stuinfo.userid}';"><i
                                        class="layui-icon layui-icon-chart-screen"></i> 工作经历</td>
                            </tr>
                            <tr>
                                    <td onclick="window.location.href='articlepre.action?userid=${stuinfo.userid}';"><i
                                            class="layui-icon layui-icon-list"></i> 文章列表</td>
                            </tr>

                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 导入网页页脚---start -->
	<%@ include file="foot.jsp" %>
	<!-- 导入网页页脚---end -->
	
    <!-- 基本信息修改弹窗--start -->
    
    <div class="editallblok dpn cfromsty" id="myjiben">
        <form class="layui-form" action="upstuinfo.action" style="padding-top: 20px;padding-bottom: 40px;">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-inline">
                        <input type="text" id="stuname" name="stuname" lay-verify="required" value="${stuinfo.stuname}" autocomplete="off"
                            placeholder="请输入姓名" class="shortinput layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">性别</label>
                    <div class="layui-input-inline shortselect">
                        <select id="agend" name="agend" lay-filter="xinbie">
                            <option value="男">男</option>
                            <option value="女">女</option>
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">出生日期</label>
                    <div class="layui-input-inline">
                        <input type="text" id="birthday" name="birthday" value="${stuinfo.birthday}" placeholder="yyyy-MM-dd" lay-verify="required" autocomplete="off"
                            class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">入学时间</label>
                    <div class="layui-input-inline">
                        <input type="text" id="entrance" name="entrance" value="${stuinfo.entrance }" placeholder="yyyy-MM-dd" lay-verify="required" autocomplete="off"
                            class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">联系邮箱</label>
                    <div class="layui-input-inline">
                        <input type="text" id="email" name="email" lay-verify="email" value="${stuinfo.email }" autocomplete="off"
                            class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">联系电话</label>
                    <div class="layui-input-inline">
                        <input type="tel" id="phone" name="phone" value="${stuinfo.phone }" lay-verify="required|phone" autocomplete="off"
                            class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">学校</label>
                    <div class="layui-input-inline shortselect">
                        <select id="school" name="school">
                            <option value="">请选择学校</option>
                            <option value="云南工商学院">云南工商学院</option>
                            <option value="广西工商学院">广西工商学院</option>
                            <option value="陕西工商学院">陕西工商学院</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">学院</label>
                    <div class="layui-input-inline shortselect">
                        <select id="college" name="college">
                            <option value="">请选择学院</option>
                            <option value="交通机电学院">交通机电学院</option>
                            <option value="信息工程学院">信息工程学院</option>
                            <option value="建工学院">建工学院</option>
                            <option value="航空学院">航空学院</option>
                            <option value="人文学院">人文学院</option>
                            <option value="经管学院">经管学院</option>
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">专业</label>
                    <div class="layui-input-inline shortselect">
                        <select id="majorname" name="majorname">
                            <option value="">请选择专业</option>
                            <option value="计算机科学与技术">计算机科学与技术</option>
                            <option value="软件工程">软件工程</option>
                            <option value="大数据设计">大数据设计</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">班级</label>
                    <div class="layui-input-inline shortselect">
                        <select id="classname" name="classname">
                            <option value="">请选择班级</option>
                            <option value="2016级计算机科学与技术一班">2016级计算机科学与技术一班</option>
                            <option value="2016级计算机科学与技术一班">2016级计算机科学与技术一班</option>
                            <option value="2016级计算机科学与技术一班">2016级计算机科学与技术一班</option>
                            <option value="2016级计算机科学与技术一班">2016级计算机科学与技术一班</option>
                            <option value="2016级计算机科学与技术一班">2016级计算机科学与技术一班</option>
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-upload inline-flex-center">
            	<input type="hidden" name="userid" id="userid" value="${loginuser.userid }">
            	<input type="hidden" name="account" id="account" value="${loginuser.account }">
            	<input type="hidden" name="photoname" id="photoname" value="${loginuser.photoname }">
                <button type="button" class="layui-btn upselfhead-btn" style="background:#3AACDA;"
                    id="grzpup">个人头像</button>
                <div class="layui-upload-list">
                    <img class="layui-upload-img upselfhead" id="demo1">
                </div>
                <p id="demoText" style="margin:0;"></p>
            </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">个人签名</label>
                <div class="layui-input-block shortarea">
                    <textarea placeholder="请输入内容" id="signed" name="signed" lay-verify="required"
                        class="layui-textarea">${stuinfo.signed}</textarea>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" type="submit" lay-submit style="background:#3AACDA;">提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
    <!-- 基本信息修改弹窗--end -->

    <!-- 求职意向修改弹窗--start -->
    <div class="editallblok dpn cfromsty" id="myqiuzhi">
        <form class="layui-form" action="wanted.action" style="padding-top: 20px;padding-bottom: 40px;">
            <div class="layui-form-item">
                <div class="layui-inline">
                <input type="hidden" name="userid" id="userid" value="${loginuser.userid }">
                    <label class="layui-form-label">求职岗位</label>
                    <div class="layui-input-inline">
                        <input type="text" name="post" id="post" lay-verify="post" autocomplete="off"
                            placeholder="请输入求职岗位" class="shortinput layui-input" value="${userwanted.post }">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">学历</label>
                    <div class="layui-input-inline shortselect">
                        <select id="stulevel" name="stulevel" lay-filter="stulevel">
                            <option value="51">专科</option>
                            <option value="52">本科</option>
                            <option value="53">硕士</option>
                            <option value="54">博士</option>
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">期待薪资</label>
                    <div class="layui-input-inline">
                        <input type="number" name="salary" id="salary" lay-verify="salary" autocomplete="off"
                            placeholder="请输入期待薪资" class="shortinput layui-input" value="${userwanted.salary }">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">求职状态</label>
                    <div class="layui-input-inline shortselect">
                        <select name="huntingstatus" id="huntingstatus" lay-filter="huntingstatus">
                            <option value="40">应届生</option>
                            <option value="41">实习生</option>
                            <option value="42">离职-随时到岗</option>
                            <option value="43">在职-月内到岗</option>
                            <option value="44">在职-考虑机会</option>
                            <option value="45">在职-不考虑</option>
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">工作地</label>
                    <div class="layui-input-inline">
                        <input type="text" name="workaddress" id="workaddress" lay-verify="workaddress"
                            autocomplete="off" placeholder="请输入工作地" class="shortinput layui-input" value="${userwanted.workaddress }">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">现住址</label>
                    <div class="layui-input-inline">
                        <input type="text" name="nowaddress" id="nowaddress" lay-verify="nowaddress" autocomplete="off"
                            placeholder="请输入现住址" class="shortinput layui-input" value="${userwanted.nowaddress }">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">家庭住址</label>
                    <div class="layui-input-inline">
                        <input type="text" name="familyaddress" id="familyaddress" lay-verify="familyaddress"
                            autocomplete="off" placeholder="请输入家庭住址" class="shortinput layui-input" value="${userwanted.familyaddress }">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" type="submit" style="background:#3AACDA;" lay-filter="demo1">提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>

        </form>
    </div>
    <!-- 求职意向修改弹窗--end -->
    <script src="js/jquery-3.3.1.min.js"></script>
    <script src="layui/layui.js"></script>
    <script src="js/my.js"></script>
    <script>
        $('#agend').find('option[value="${stuinfo.agend}"]').attr('selected','selected');
        $('#college').find('option[value="${stuinfo.college}"]').attr('selected','selected');
        $('#school').find('option[value="${stuinfo.school}"]').attr('selected','selected');
        $('#majorname').find('option[value="${stuinfo.majorname}"]').attr('selected','selected');
        $('#classname').find('option[value="${stuinfo.classname}"]').attr('selected','selected');
        $('#stulevel').find('option[value="${userwanted.stulevel}"]').attr('selected','selected');
        $('#huntingstatus').find('option[value="${userwanted.huntingstatus}"]').attr('selected','selected');
    </script>
</body>

</html>
